<template>
  <router-view />
  <!-- 带有缓存的写法 -->
  <!-- <router-view v-slot="{ Component }">
    <keep-alive>
      <component :is="Component" />
    </keep-alive>
  </router-view> -->
</template>

<style lang="less">
  @import './assets/css/reset.css';
  @import './assets/css/variables.less';
  #app {
    background: #eee;
    height: 100%;
    overflow: hidden;
  }
</style>
